<template>
  <div class="build-active-promember-home">
    <div class="container" style="padding-left: 0">
      <div class="container-title">
        <!-- <buildElH1 name="设计年度人物专家委员会.png"></buildElH1> -->
        <div class="my-title" :style="{ marginBottom: '20px' }">
          <div class="title">设计年度人物专家委员会</div>
          <div class="more">
            <div class="label">注：成员由设计年度人物获奖名单筛选组成</div>
          </div>
        </div>
      </div>
      <div
        class="explain-cont"
        style="padding-left: 0"
        v-html="details.committeeIntroduction"
      ></div>

      <div
        v-for="(item, index) in tableData"
        :key="item.committeeId"
        style="padding-left: 0"
        class="pro_list"
      >
        <div v-html="item.committeeName" style="margin-bottom: 20px"></div>
        <img
          class="test_img_url"
          :src="'http://oss.cbda1984.com/' + index + '.png'"
        />
        <!-- <buildElH1
          :name="item.committeeName + '.png'"
          type="3"
          width="285px"
          height="20px"
          v-margin-top="'30px'"
          style="margin-bottom: 10px"
        ></buildElH1>
        <buildElCommitteeList
          :list="item.recordList"
          type="build-el-time-right-nobg"
        ></buildElCommitteeList> -->
      </div>
    </div>
  </div>
</template>
<script>
import buildElH1 from "../build-el-h1";
import buildElTimeList from "../build-el-time-list";
import buildElTimeRight from "../build-el-time-right";
import buildElCommitteeList from "../build-el-time-right-clone";
export default {
  components: {
    buildElH1,
    buildElTimeList,
    buildElTimeRight,
    buildElCommitteeList,
  },
  data() {
    return {
      tableData: [],
      details: {},
    };
  },
  async mounted() {
    let res = await this.api.findCommitteeAllAdmin();
    this.tableData = res;
    console.log("object :>> ", res);
    let res2 = await this.api.findDownloadFile({ customizeId: 1 });
    this.details = res2;
  },
};
</script>
<style lang="less" scoped>
.build-active-promember-home {
  background-color: #bf1425;
  padding-top: 60px;
  box-sizing: border-box;
  margin-bottom: 60px;
  padding-left: 0;
  .pro_list {
    margin-bottom: 60px;
    &:last-child {
      margin-bottom: 0;
    }
  }
  .my-title {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #eee;
    padding-bottom: 6px;
    .title {
      position: relative;
      font-size: 20px;
      color: #fff;
      font-weight: bold;
      &::before {
        content: "";
        position: absolute;
        bottom: -8.5px;
        left: 0;
        background-color: #fff;
        height: 4px;
        width: 100%;
      }
    }
    .more {
      .pointer;
      font-size: 14px;
      font-weight: 400;
      color: #c81425;
    }
  }
  .explain-title {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
  }
  .explain-cont {
    width: 859px;
    line-height: 26px;
    margin-top: 8px;
    font-size: 14px;
    color: #fff;
    margin-bottom: 60px;
  }
  .container-title {
    // display: flex;
    // justify-content: space-between;
    .label {
      color: #ffffff;
      font-size: 14px;
    }
  }
}
</style>
